﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Com.Toook.AutoDownloadHtml.Entity
{
    /// <summary>
    /// 更新每个新闻类别的参数类
    /// </summary>
    public class NewsUpdateObj
    {
        private int id;
        /// <summary>
        /// Id
        /// </summary>
        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }
        private int intervalHour;
        /// <summary>
        /// 几小时更新一次
        /// </summary>
        public int IntervalHour
        {
            get
            {
                return intervalHour;
            }
            set
            {
                intervalHour = value;
            }
        }
        private string url;
        /// <summary>
        /// 新闻分类url
        /// </summary>
        public string Url
        {
            get
            {
                return url;
            }
            set
            {
                url = value;
            }
        }
        private DateTime expiryTime;
        /// <summary>
        /// 到期时间
        /// </summary>
        public DateTime ExpiryTime
        {
            get
            {
                return expiryTime;
            }
            set
            {
                expiryTime = value;
            }
        }
        
        private string typeSite;
        /// <summary>
        /// 新闻类型、站点
        /// </summary>
        public string TypeSite
        {
            get
            {
                return typeSite;
            }
            set
            {
                typeSite = value;
            }
        }
        private string charset;
        /// <summary>
        /// 编码
        /// </summary>
        public string Charset
        {
            get
            {
                return charset;
            }
            set
            {
                charset = value;
            }
        }
    }
}
